package com.innovation.chengzhangriji.ui;

import android.content.Intent;
import android.os.Bundle;
import android.view.View;

import com.innovation.chengzhangriji.R;
import com.innovation.chengzhangriji.ui.widget.CuteButton;

public class ReadytoChangeDialogActivity extends BaseActivity {
    private String info;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_readytochange_dialog);

        info = getIntent().getStringExtra("info");
        CuteButton cuteTextView = (CuteButton) findViewById(R.id.tv_readytochange);
        cuteTextView.setOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                Intent intent = new Intent(ReadytoChangeDialogActivity.this, ChangePermissionActivity.class);
                intent.putExtra("info", info);
                startActivity(intent);
                finish();
            }
        });

    }

}
